package com.tcs.swing;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.tcs.swing.jp.JfromTask;

/**
 * Hello world!
 *
 */
public class App {
	
	private static final Logger logger = LoggerFactory.getLogger(App.class);
	
	private final String THREAD_NAME = "main task";
	
	public static void main(String[] args) {
		new App().start();
	}
	
	private void start() {
		JfromTask jfromTask = new JfromTask();
		Thread thread = new Thread(jfromTask , THREAD_NAME);
		logger.debug(" start : {} " , thread);
		thread.start();
	}
}